import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import Vant from "vant"
// import 'vant/lib/index.css'
import Layout from './components/layout/index.vue'
Vue.component("Layout",Layout)
import validators from './common/Validators.js'
Vue.prototype.$valid = validators
import MyVant from './components/vant/index.js'
Vue.use(MyVant)
import utils from './utils/index'
Vue.prototype.$utils = utils
import api from './request/api'
import callApi from './request/call'
Vue.prototype.$http = {api,callApi}


import "./assets/js/flexible.js"
import "./assets/css/base.css"
import "./assets/css/font-awesome.css"
import "vant/lib/index.less"

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
